overiade main style only for specific page sass

103

1

Solution 1: Introduce a style attribute directly on the element on that specific page (style="display:none;"). Be aware the important will override this style. So either remove important from you sass or add it to the inline one.

Solution 2: Put an specific class or id on the element on that page that you can then reference in your sass.

Solution 3: Introduce a unique id on the body for each page that you can then reference in your sass to apply styles to elements on specific pages.

Comments

Submit
0 Comments